import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

/**
 * @author wangwxj
 * @date 2024/12/2614:36
 */
public class doTest {

    @BeforeMethod
    public static void setUp(){
        System.out.println("开始");
    }

    @Test
    public static void runTest1(){
        test1.A();
    }

    @Test
    public static void runTest2(){
        test2.B();
    }

    @AfterMethod
    public static void tearDown(){
        System.out.println("结束");
    }
}
